IItemsSource
Ecng.ComponentModel
Represents a strongly typed source of items.
实现: IItemsSource
属性
Values
public IEnumerable<IItemsSourceItem<TValue>> Values { get; }
value = iItemsSource.Values
Gets the collection of strongly typed items.
方法
CreateNewItem
public IItemsSourceItem<TValue> CreateNewItem(TValue value)
result = iItemsSource.CreateNewItem(value)
Creates a new strongly typed item using the specified value.
- value
- The value for creating the new item.
返回值: The newly created strongly typed item.